//
//  ZQSquareCell.m
//  BuDeJie
//
//  Created by 仲琦 on 16/4/7.
//  Copyright © 2016年 仲琦. All rights reserved.
//

#import "ZQSquareCell.h"
#import "ZQSquareItem.h"
#import <UIImageView+WebCache.h>

@interface ZQSquareCell ()

@property (weak, nonatomic) IBOutlet UIImageView *imageV;

@property (weak, nonatomic) IBOutlet UILabel *nameL;

@end

@implementation ZQSquareCell


- (void)setItem:(ZQSquareItem *)item
{
    _item = item;
    
    [_imageV sd_setImageWithURL:[NSURL URLWithString:item.icon] ];
    
    _nameL.text = item.name;
    
    
}

@end
